
module.exports = {
    chainWebpack: config => {
      config.module
        .rule('vue')
        .use('moxcss-vue-loader')
        .loader('moxcss-vue-loader')
          .tap(options => {
            return {
                unit: (num)=> (num*(100/375)).toFixed(6) + 'vw'
            }
          })
    }
  }